/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package main;

import java.util.Date;

/**
 *
 * @author boomar
 */
public class Promotion {
    private int idPromotion;
    private Date annee;
    private String typeFormation;
    private String niveau;

    public Promotion(int idPromotion, Date annee, String typeFormation, String niveau) {
        this.idPromotion = idPromotion;
        this.annee = annee;
        this.typeFormation = typeFormation;
        this.niveau = niveau;
    }

    public Date getAnnee() {
        return annee;
    }

    public int getIdPromotion() {
        return idPromotion;
    }

    public String getNiveau() {
        return niveau;
    }

    public String getTypeFormation() {
        return typeFormation;
    }

    public void setAnnee(Date annee) {
        this.annee = annee;
    }

    public void setIdPromotion(int idPromotion) {
        this.idPromotion = idPromotion;
    }

    public void setNiveau(String niveau) {
        this.niveau = niveau;
    }

    public void setTypeFormation(String typeFormation) {
        this.typeFormation = typeFormation;
    }

    @Override
    public String toString() {
        return "Promotion{" + "idPromotion=" + idPromotion + "annee=" + annee + "typeFormation=" + typeFormation + "niveau=" + niveau + '}';
    }
}
